<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>pybindgen.container.Container</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="pybindgen-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="pybindgen-module.html">Package&nbsp;pybindgen</a> ::
        <a href="pybindgen.container-module.html">Module&nbsp;container</a> ::
        Class&nbsp;Container
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="pybindgen.container.Container-class.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class Container</h1><p class="nomargin-top"><span class="codelink"><a href="pybindgen.container-pysrc.html#Container">source&nbsp;code</a></span></p>
<center>
<center>  <map id="uml_class_diagram_for_pybindge" name="uml_class_diagram_for_pybindge">
<area shape="rect" href="pybindgen.container.Container-class.html#module" title="Get the Module object this type belongs to" alt="" coords="17,28,540,47"/>
<area shape="rect" href="pybindgen.container.Container-class.html#pystruct" title="pybindgen.container.Container.pystruct" alt="" coords="17,47,540,65"/>
<area shape="rect" href="pybindgen.container.Container-class.html#iter_pystruct" title="pybindgen.container.Container.iter_pystruct" alt="" coords="17,65,540,84"/>
<area shape="rect" href="pybindgen.container.Container-class.html#python_name" title="pybindgen.container.Container.python_name" alt="" coords="17,84,540,103"/>
<area shape="rect" href="pybindgen.container.Container-class.html#python_full_name" title="pybindgen.container.Container.python_full_name" alt="" coords="17,103,540,121"/>
<area shape="rect" href="pybindgen.container.Container-class.html#__init__" title="x.__init__(...) initializes x; see x.__class__.__doc__ for signature" alt="" coords="17,124,540,143"/>
<area shape="rect" href="pybindgen.container.Container-class.html#__repr__" title="repr(x)" alt="" coords="17,143,540,161"/>
<area shape="rect" href="pybindgen.container.Container-class.html#get_module" title="Get the Module object this type belongs to" alt="" coords="17,161,540,180"/>
<area shape="rect" href="pybindgen.container.Container-class.html#set_module" title="Set the Module object this type belongs to" alt="" coords="17,180,540,199"/>
<area shape="rect" href="pybindgen.container.Container-class.html#get_pystruct" title="pybindgen.container.Container.get_pystruct" alt="" coords="17,199,540,217"/>
<area shape="rect" href="pybindgen.container.Container-class.html#get_iter_pystruct" title="pybindgen.container.Container.get_iter_pystruct" alt="" coords="17,217,540,236"/>
<area shape="rect" href="pybindgen.container.Container-class.html#register_alias" title="Re&#45;register the class with another base name, in addition to any &#160;registrations that might have already been done." alt="" coords="17,236,540,255"/>
<area shape="rect" href="pybindgen.container.Container-class.html#generate_forward_declarations" title="Generates forward declarations for the instance and type structures." alt="" coords="17,255,540,273"/>
<area shape="rect" href="pybindgen.container.Container-class.html#generate" title="Generates the class to a code sink" alt="" coords="17,273,540,292"/>
<area shape="rect" href="pybindgen.container.Container-class.html" title="pybindgen.container.Container" alt="" coords="16,11,541,293"/>
</map>
  <img src="uml_class_diagram_for_pybindge.gif" alt='' usemap="#uml_class_diagram_for_pybindge" ismap="ismap" class="graph-without-title" />
</center>
</center>
<hr />
<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Instance Methods</span></td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pybindgen.container.Container-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">name</span>,
        <span class="summary-sig-arg">value_type</span>,
        <span class="summary-sig-arg">container_type</span>,
        <span class="summary-sig-arg">outer_class</span>=<span class="summary-sig-default">None</span>,
        <span class="summary-sig-arg">custom_name</span>=<span class="summary-sig-default">None</span>)</span><br />
      x.__init__(...) initializes x; see x.__class__.__doc__ for signature</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.container-pysrc.html#Container.__init__">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for___init__-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for___init__-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for___init__" name="call_graph_for___init__">
<area shape="rect" href="pybindgen.container.Container-class.html#__init__" title="__init__()" alt="" coords="409,145,513,177"/>
<area shape="rect" href="pybindgen.pytypeobject.PyTypeObject-class.html#__init__" title="pytypeobject.PyTypeObject.__init__()" alt="" coords="651,5,1011,37"/>
<area shape="rect" href="pybindgen.typehandlers.base.Parameter.__metaclass__-class.html#__init__" title="typehandlers.base.Parameter.__metaclass__.__init__()" alt="" coords="573,61,1088,93"/>
<area shape="rect" href="pybindgen.typehandlers.base.ReturnValue.__metaclass__-class.html#__init__" title="typehandlers.base.ReturnValue.__metaclass__.__init__()" alt="" coords="563,117,1099,149"/>
<area shape="rect" href="pybindgen.typehandlers.base.TypeMatcher-class.html#register" title="typehandlers.base.TypeMatcher.register()" alt="" coords="631,173,1031,205"/>
<area shape="rect" href="pybindgen.utils-module.html#eval_retval" title="utils.eval_retval()" alt="" coords="740,229,921,261"/>
<area shape="rect" href="pybindgen.utils-module.html#mangle_name" title="utils.mangle_name()" alt="" coords="727,285,935,317"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#add_container" title="module.ModuleBase.add_container()" alt="" coords="5,145,360,177"/>
</map>
  <img src="call_graph_for___init__.gif" alt='' usemap="#call_graph_for___init__" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pybindgen.container.Container-class.html#__repr__" class="summary-sig-name">__repr__</a>(<span class="summary-sig-arg">self</span>)</span><br />
      repr(x)</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.container-pysrc.html#Container.__repr__">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="get_module"></a><span class="summary-sig-name">get_module</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Get the Module object this type belongs to</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.container-pysrc.html#Container.get_module">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_get_module-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_get_module-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_get_module" name="call_graph_for_get_module">
<area shape="rect" href="pybindgen.container.Container-class.html#_generate_container_constructor" title="_generate_container_constructor()" alt="" coords="7,5,345,37"/>
<area shape="rect" href="pybindgen.container.Container-class.html#get_module" title="get_module()" alt="" coords="396,89,537,121"/>
<area shape="rect" href="pybindgen.container.Container-class.html#_update_names" title="_update_names()" alt="" coords="87,61,265,93"/>
<area shape="rect" href="pybindgen.container.Container-class.html#generate_forward_declarations" title="generate_forward_declarations()" alt="" coords="16,117,336,149"/>
<area shape="rect" href="pybindgen.container.Container-class.html#register_alias" title="register_alias()" alt="" coords="97,173,255,205"/>
</map>
  <img src="call_graph_for_get_module.gif" alt='' usemap="#call_graph_for_get_module" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="set_module"></a><span class="summary-sig-name">set_module</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">module</span>)</span><br />
      Set the Module object this type belongs to</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.container-pysrc.html#Container.set_module">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_set_module-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_set_module-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_set_module" name="call_graph_for_set_module">
<area shape="rect" href="pybindgen.container.Container-class.html#_update_names" title="_update_names()" alt="" coords="647,5,825,37"/>
<area shape="rect" href="pybindgen.container.Container-class.html#set_module" title="set_module()" alt="" coords="457,5,596,37"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#_add_container_obj" title="module.ModuleBase._add_container_obj()" alt="" coords="7,5,407,37"/>
</map>
  <img src="call_graph_for_set_module.gif" alt='' usemap="#call_graph_for_set_module" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="get_pystruct"></a><span class="summary-sig-name">get_pystruct</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.container-pysrc.html#Container.get_pystruct">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_get_pystruct-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_get_pystruct-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_get_pystruct" name="call_graph_for_get_pystruct">
<area shape="rect" href="pybindgen.container.Container-class.html#_generate_container_constructor" title="_generate_container_constructor()" alt="" coords="60,5,399,37"/>
<area shape="rect" href="pybindgen.container.Container-class.html#get_pystruct" title="get_pystruct()" alt="" coords="501,257,653,289"/>
<area shape="rect" href="pybindgen.container.Container-class.html#_generate_destructor" title="_generate_destructor()" alt="" coords="113,61,345,93"/>
<area shape="rect" href="pybindgen.container.Container-class.html#_generate_iter_methods" title="_generate_iter_methods()" alt="" coords="100,117,359,149"/>
<area shape="rect" href="pybindgen.container.Container-class.html#_generate_type_structure" title="_generate_type_structure()" alt="" coords="92,173,367,205"/>
<area shape="rect" href="pybindgen.container.Container-class.html#generate_forward_declarations" title="generate_forward_declarations()" alt="" coords="69,229,389,261"/>
<area shape="rect" href="pybindgen.container.ContainerParameter-class.html#convert_c_to_python" title="ContainerParameter.convert_c_to_python()" alt="" coords="20,285,439,317"/>
<area shape="rect" href="pybindgen.container.ContainerPtrParameter-class.html#convert_python_to_c" title="ContainerPtrParameter.convert_python_to_c()" alt="" coords="5,341,453,373"/>
<area shape="rect" href="pybindgen.container.ContainerRefParameter-class.html#convert_c_to_python" title="ContainerRefParameter.convert_c_to_python()" alt="" coords="5,397,453,429"/>
<area shape="rect" href="pybindgen.container.ContainerRefParameter-class.html#convert_python_to_c" title="ContainerRefParameter.convert_python_to_c()" alt="" coords="5,453,453,485"/>
<area shape="rect" href="pybindgen.container.ContainerReturnValue-class.html#convert_c_to_python" title="ContainerReturnValue.convert_c_to_python()" alt="" coords="9,509,449,541"/>
</map>
  <img src="call_graph_for_get_pystruct.gif" alt='' usemap="#call_graph_for_get_pystruct" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="get_iter_pystruct"></a><span class="summary-sig-name">get_iter_pystruct</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.container-pysrc.html#Container.get_iter_pystruct">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_get_iter_pystru-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_get_iter_pystru-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_get_iter_pystru" name="call_graph_for_get_iter_pystru">
<area shape="rect" href="pybindgen.container.Container-class.html#_generate_destructor" title="_generate_destructor()" alt="" coords="51,5,283,37"/>
<area shape="rect" href="pybindgen.container.Container-class.html#get_iter_pystruct" title="get_iter_pystruct()" alt="" coords="377,173,569,205"/>
<area shape="rect" href="pybindgen.container.Container-class.html#_generate_gc_methods" title="_generate_gc_methods()" alt="" coords="43,61,291,93"/>
<area shape="rect" href="pybindgen.container.Container-class.html#_generate_iter_methods" title="_generate_iter_methods()" alt="" coords="37,117,296,149"/>
<area shape="rect" href="pybindgen.container.Container-class.html#_generate_type_structure" title="_generate_type_structure()" alt="" coords="29,173,304,205"/>
<area shape="rect" href="pybindgen.container.Container-class.html#generate_forward_declarations" title="generate_forward_declarations()" alt="" coords="7,229,327,261"/>
<area shape="rect" href="pybindgen.container.IterNextWrapper-class.html#__init__" title="IterNextWrapper.__init__()" alt="" coords="35,285,299,317"/>
<area shape="rect" href="pybindgen.container.IterNextWrapper-class.html#generate" title="IterNextWrapper.generate()" alt="" coords="28,341,305,373"/>
</map>
  <img src="call_graph_for_get_iter_pystru.gif" alt='' usemap="#call_graph_for_get_iter_pystru" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="register_alias"></a><span class="summary-sig-name">register_alias</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">alias</span>)</span><br />
      Re-register the class with another base name, in addition to any 
      registrations that might have already been done.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.container-pysrc.html#Container.register_alias">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_register_alias-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_register_alias-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_register_alias" name="call_graph_for_register_alias">
<area shape="rect" href="pybindgen.container.Container-class.html#_update_names" title="_update_names()" alt="" coords="7,61,185,93"/>
<area shape="rect" href="pybindgen.container.Container-class.html#register_alias" title="register_alias()" alt="" coords="235,61,392,93"/>
<area shape="rect" href="pybindgen.container.Container-class.html#get_module" title="get_module()" alt="" coords="571,5,712,37"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#register_type" title="module.ModuleBase.register_type()" alt="" coords="468,61,815,93"/>
<area shape="rect" href="pybindgen.typehandlers.base.TypeMatcher-class.html#register" title="typehandlers.base.TypeMatcher.register()" alt="" coords="441,117,841,149"/>
</map>
  <img src="call_graph_for_register_alias.gif" alt='' usemap="#call_graph_for_register_alias" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="generate_forward_declarations"></a><span class="summary-sig-name">generate_forward_declarations</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">code_sink</span>,
        <span class="summary-sig-arg">module</span>)</span><br />
      Generates forward declarations for the instance and type structures.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.container-pysrc.html#Container.generate_forward_declarations">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_generate_forwar-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_generate_forwar-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_generate_forwar" name="call_graph_for_generate_forwar">
<area shape="rect" href="pybindgen.container.Container-class.html#generate_forward_declarations" title="generate_forward_declarations()" alt="" coords="567,201,887,233"/>
<area shape="rect" href="pybindgen.container.Container-class.html#get_iter_pystruct" title="get_iter_pystruct()" alt="" coords="1155,5,1347,37"/>
<area shape="rect" href="pybindgen.container.Container-class.html#get_module" title="get_module()" alt="" coords="1180,61,1321,93"/>
<area shape="rect" href="pybindgen.container.Container-class.html#get_pystruct" title="get_pystruct()" alt="" coords="1175,117,1327,149"/>
<area shape="rect" href="pybindgen.container.ContainerReturnValue-class.html#__init__" title="ContainerReturnValue.__init__()" alt="" coords="1093,173,1408,205"/>
<area shape="rect" href="pybindgen.module.Module-class.html#get_python_to_c_type_converter_function_name" title="module.Module.get_python_to_c_type_converter_function_name()" alt="" coords="936,229,1565,261"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#declare_one_time_definition" title="module.ModuleBase.declare_one_time_definition()" alt="" coords="1011,285,1491,317"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#get_root" title="module.ModuleBase.get_root()" alt="" coords="1100,341,1401,373"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.FileCodeSink-class.html#writeln" title="typehandlers.codesink.FileCodeSink.writeln()" alt="" coords="1033,397,1468,429"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#generate_forward_declarations" title="module.ModuleBase.generate_forward_declarations()" alt="" coords="7,201,516,233"/>
</map>
  <img src="call_graph_for_generate_forwar.gif" alt='' usemap="#call_graph_for_generate_forwar" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="generate"></a><span class="summary-sig-name">generate</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">code_sink</span>,
        <span class="summary-sig-arg">module</span>,
        <span class="summary-sig-arg">docstring</span>=<span class="summary-sig-default">None</span>)</span><br />
      Generates the class to a code sink</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.container-pysrc.html#Container.generate">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_generate-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_generate-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_generate" name="call_graph_for_generate">
<area shape="rect" href="pybindgen.container.Container-class.html#_generate_container_constructor" title="_generate_container_constructor()" alt="" coords="632,5,971,37"/>
<area shape="rect" href="pybindgen.container.Container-class.html#_generate_destructor" title="_generate_destructor()" alt="" coords="685,61,917,93"/>
<area shape="rect" href="pybindgen.container.Container-class.html#_generate_gc_methods" title="_generate_gc_methods()" alt="" coords="677,117,925,149"/>
<area shape="rect" href="pybindgen.container.Container-class.html#_generate_iter_methods" title="_generate_iter_methods()" alt="" coords="672,173,931,205"/>
<area shape="rect" href="pybindgen.container.Container-class.html#_generate_type_structure" title="_generate_type_structure()" alt="" coords="664,229,939,261"/>
<area shape="rect" href="pybindgen.container.Container-class.html#_get_python_name" title="_get_python_name()" alt="" coords="696,285,907,317"/>
<area shape="rect" href="pybindgen.container.Container-class.html#generate" title="generate()" alt="" coords="396,201,513,233"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock-class.html#write_code" title="typehandlers.base.CodeBlock.write_code()" alt="" coords="596,341,1007,373"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock-class.html#write_error_check" title="typehandlers.base.CodeBlock.write_error_check()" alt="" coords="563,397,1040,429"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#do_generate" title="module.ModuleBase.do_generate()" alt="" coords="7,201,345,233"/>
</map>
  <img src="call_graph_for_generate.gif" alt='' usemap="#call_graph_for_generate" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__delattr__</code>,
      <code>__format__</code>,
      <code>__getattribute__</code>,
      <code>__hash__</code>,
      <code>__new__</code>,
      <code>__reduce__</code>,
      <code>__reduce_ex__</code>,
      <code>__setattr__</code>,
      <code>__sizeof__</code>,
      <code>__str__</code>,
      <code>__subclasshook__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== PROPERTIES ==================== -->
<a name="section-Properties"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Properties</span></td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="pybindgen.container.Container-class.html#module" class="summary-name">module</a><br />
      Get the Module object this type belongs to
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="pybindgen.container.Container-class.html#pystruct" class="summary-name">pystruct</a>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="pybindgen.container.Container-class.html#iter_pystruct" class="summary-name">iter_pystruct</a>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="pybindgen.container.Container-class.html#python_name" class="summary-name">python_name</a>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="pybindgen.container.Container-class.html#python_full_name" class="summary-name">python_full_name</a>
    </td>
  </tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__class__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== METHOD DETAILS ==================== -->
<a name="section-MethodDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Method Details</span></td>
</tr>
</table>
<a name="__init__"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">name</span>,
        <span class="sig-arg">value_type</span>,
        <span class="sig-arg">container_type</span>,
        <span class="sig-arg">outer_class</span>=<span class="sig-default">None</span>,
        <span class="sig-arg">custom_name</span>=<span class="sig-default">None</span>)</span>
    <br /><em class="fname">(Constructor)</em>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pybindgen.container-pysrc.html#Container.__init__">source&nbsp;code</a></span>&nbsp;
    <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for___init__-div');return false;">call&nbsp;graph</a></span>&nbsp;</td>
  </tr></table>
  <div style="display:none" id="call_graph_for___init__-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for___init__" name="call_graph_for___init__">
<area shape="rect" href="pybindgen.container.Container-class.html#__init__" title="__init__()" alt="" coords="409,145,513,177"/>
<area shape="rect" href="pybindgen.pytypeobject.PyTypeObject-class.html#__init__" title="pytypeobject.PyTypeObject.__init__()" alt="" coords="651,5,1011,37"/>
<area shape="rect" href="pybindgen.typehandlers.base.Parameter.__metaclass__-class.html#__init__" title="typehandlers.base.Parameter.__metaclass__.__init__()" alt="" coords="573,61,1088,93"/>
<area shape="rect" href="pybindgen.typehandlers.base.ReturnValue.__metaclass__-class.html#__init__" title="typehandlers.base.ReturnValue.__metaclass__.__init__()" alt="" coords="563,117,1099,149"/>
<area shape="rect" href="pybindgen.typehandlers.base.TypeMatcher-class.html#register" title="typehandlers.base.TypeMatcher.register()" alt="" coords="631,173,1031,205"/>
<area shape="rect" href="pybindgen.utils-module.html#eval_retval" title="utils.eval_retval()" alt="" coords="740,229,921,261"/>
<area shape="rect" href="pybindgen.utils-module.html#mangle_name" title="utils.mangle_name()" alt="" coords="727,285,935,317"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#add_container" title="module.ModuleBase.add_container()" alt="" coords="5,145,360,177"/>
</map>
  <img src="call_graph_for___init__.gif" alt='' usemap="#call_graph_for___init__" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

  <p>x.__init__(...) initializes x; see x.__class__.__doc__ for 
  signature</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>name</code></strong> - C++ type name of the container, e.g. std::vector&lt;int&gt; or 
          MyIntList</li>
        <li><strong class="pname"><code>value_type</code></strong> - a ReturnValue of the element type: note, for mapping containers, 
          value_type is a tuple with two ReturnValue's: (key, element).</li>
        <li><strong class="pname"><code>container_type</code></strong> - a string with the type of container, one of 'list', 'deque', 
          'queue', 'priority_queue', 'vector', 'stack', 'set', 'multiset', 
          'hash_set', 'hash_multiset', 'map'</li>
        <li><strong class="pname"><code>outer_class</code></strong> (None or <a href="pybindgen.cppclass.CppClass-class.html" 
          class="link">CppClass</a>) - if the type is defined inside a class, must be a reference to the
          outer class</li>
        <li><strong class="pname"><code>custom_name</code></strong> - alternative name to register with in the Python module</li>
    </ul></dd>
    <dt>Overrides:
        object.__init__
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="__repr__"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">__repr__</span>(<span class="sig-arg">self</span>)</span>
    <br /><em class="fname">(Representation operator)</em>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pybindgen.container-pysrc.html#Container.__repr__">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>repr(x)</p>
  <dl class="fields">
    <dt>Overrides:
        object.__repr__
        <dd><em class="note">(inherited documentation)</em></dd>
    </dt>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== PROPERTY DETAILS ==================== -->
<a name="section-PropertyDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Property Details</span></td>
</tr>
</table>
<a name="module"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">module</h3>
  <p>Get the Module object this type belongs to</p>
  <dl class="fields">
    <dt>Get Method:</dt>
    <dd class="value"><span class="summary-sig"><a href="pybindgen.container.Container-class.html#get_module" class="summary-sig-name">get_module</a>(<span class="summary-sig-arg">self</span>)</span>
        - Get the Module object this type belongs to
    </dd>
    <dt>Set Method:</dt>
    <dd class="value"><span class="summary-sig"><a href="pybindgen.container.Container-class.html#set_module" class="summary-sig-name">set_module</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">module</span>)</span>
        - Set the Module object this type belongs to
    </dd>
  </dl>
</td></tr></table>
</div>
<a name="pystruct"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">pystruct</h3>
  
  <dl class="fields">
    <dt>Get Method:</dt>
    <dd class="value"><span class="summary-sig"><a href="pybindgen.container.Container-class.html#get_pystruct" class="summary-sig-name">get_pystruct</a>(<span class="summary-sig-arg">self</span>)</span>
    </dd>
  </dl>
</td></tr></table>
</div>
<a name="iter_pystruct"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">iter_pystruct</h3>
  
  <dl class="fields">
    <dt>Get Method:</dt>
    <dd class="value"><span class="summary-sig"><a href="pybindgen.container.Container-class.html#get_iter_pystruct" class="summary-sig-name">get_iter_pystruct</a>(<span class="summary-sig-arg">self</span>)</span>
    </dd>
  </dl>
</td></tr></table>
</div>
<a name="python_name"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">python_name</h3>
  
  <dl class="fields">
    <dt>Get Method:</dt>
    <dd class="value"><span class="summary-sig"><a href="pybindgen.container.Container-class.html#_get_python_name" class="summary-sig-name" onclick="show_private();">_get_python_name</a>(<span class="summary-sig-arg">self</span>)</span>
    </dd>
  </dl>
</td></tr></table>
</div>
<a name="python_full_name"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">python_full_name</h3>
  
  <dl class="fields">
    <dt>Get Method:</dt>
    <dd class="value"><span class="summary-sig"><a href="pybindgen.container.Container-class.html#_get_python_full_name" class="summary-sig-name" onclick="show_private();">_get_python_full_name</a>(<span class="summary-sig-arg">self</span>)</span>
    </dd>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="pybindgen-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Sun Jul 12 17:23:08 2009
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
